<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <h1 th:text="${msg}">哈哈哈</h1>

    <h2>
        <a href="https://blog.csdn.net/">去CSDN</a>
        <a href="https://blog.csdn.net/" th:text="去哔哩哔哩" th:href="@{https://www.bilibili.com/}">去CSDN</a>
    </h2>

</body>
</html>